home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / packages / amsbook.cls < prev    next >
Encoding:
Text File  |  1995-03-15  |  40.9 KB  |  1,126 lines

  1. %% 
  2. %% This is file `amsbook.cls', generated 
  3. %% on <1995/2/23> with the docstrip utility (2.2i).
  4. %% 
  5. %% The original source files were:
  6. %% 
  7. %% amsclass.dtx  (with options: `amsbook')
  8. %%% ====================================================================
  9. %%%  @LaTeX-file{
  10. %%%     filename        = "amsclass.dtx",
  11. %%%     version         = "1.2b",
  12. %%%     date            = "1995/02/23",
  13. %%%     time            = "10:06:48 EST",
  14. %%%     author          = "American Mathematical Society",
  15. %%%     copyright       = "Copyright (C) 1995 American Mathematical Society,
  16. %%%                        all rights reserved.  Copying of this file is
  17. %%%                        authorized only if either:
  18. %%%                        (1) you make absolutely no changes to your copy,
  19. %%%                        including name; OR
  20. %%%                        (2) if you do make changes, you first rename it
  21. %%%                        to some other name.",
  22. %%%     address         = "American Mathematical Society,
  23. %%%                        Technical Support,
  24. %%%                        Electronic Products and Services,
  25. %%%                        P. O. Box 6248,
  26. %%%                        Providence, RI 02940,
  27. %%%                        USA",
  28. %%%     telephone       = "401-455-4080 or (in the USA and Canada)
  29. %%%                        800-321-4AMS (321-4267)",
  30. %%%     FAX             = "401-331-3842",
  31. %%%     checksum        = "06446 3073 12220 114673",
  32. %%%     email           = "tech-support@math.ams.org (Internet)",
  33. %%%     codetable       = "ISO/ASCII",
  34. %%%     keywords        = "latex, amslatex, ams-latex",
  35. %%%     supported       = "yes",
  36. %%%     abstract        = "This is part of the AMS-\LaTeX{} distribution.
  37. %%%                        It produces output conforming to the style
  38. %%%                        conventions of American Mathematical Society
  39. %%%                        publications.  The file \fn{amsclass.dtx} is
  40. %%%                        converted by the installation procedure
  41. %%%                        into three document classes:
  42. %%%                        \cls{amsart}, \cls{amsproc}, and \cls{amsbook},
  43. %%%                        which are intended, respectively,
  44. %%%                        for articles and books containing mathematical
  45. %%%                        research; both class files will also carry this
  46. %%%                        heading, and the particular class should be
  47. %%%                        determined from the external file name.",
  48. %%%     docstring       = "The checksum field above contains a CRC-16
  49. %%%                        checksum as the first value, followed by the
  50. %%%                        equivalent of the standard UNIX wc (word
  51. %%%                        count) utility output of lines, words, and
  52. %%%                        characters.  This is produced by Robert
  53. %%%                        Solovay's checksum utility.",
  54. %%%  }
  55. %%% ====================================================================
  56. \NeedsTeXFormat{LaTeX2e}
  57. \ProvidesClass{amsbook}[1995/02/23 v1.2b]
  58. \def\@tempa#1#2\@nil{\edef\@classname{#1}}
  59. \expandafter\@tempa\@currnamestack{}{}{}\@nil
  60. \ifx\@classname\@empty \edef\@classname{\@currname}\fi
  61. \DeclareOption{a4paper}{\paperheight 297mm\paperwidth 210mm
  62.   \textheight 54.5pc }
  63. \DeclareOption{letterpaper}{\paperheight 11in\paperwidth 8.5in }
  64. \DeclareOption{landscape}{\@tempdima\paperheight
  65.   \paperheight\paperwidth \paperwidth\@tempdima}
  66. \DeclareOption{portrait}{}
  67. \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
  68. \DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
  69. \DeclareOption{draft}{\overfullrule5\p@ }
  70. \DeclareOption{final}{\overfullrule\z@ }
  71. \newif\if@titlepage
  72. \DeclareOption{titlepage}{\@titlepagetrue}
  73. \DeclareOption{notitlepage}{\@titlepagefalse}
  74. \DeclareOption{onecolumn}{\@twocolumnfalse}
  75. \DeclareOption{twocolumn}{\@twocolumntrue}
  76. \DeclareOption{nomath}{%
  77.   \def\numberwithin##1##2{\@ifundefined{c@##1}{\@nocounterr{##1}}{%
  78.     \@ifundefined{c@##2}{\@nocounterr{##2}}{%
  79.     \@addtoreset{##1}{##2}%
  80.     \toks@\@xp\@xp\@xp{\csname the##1\endcsname}%
  81.     \@xp\xdef\csname the##1\endcsname
  82.       {\@xp\@nx\csname the##2\endcsname
  83.        .\the\toks@}}}}
  84. }
  85. \def\mathfrak{needed}
  86. \DeclareOption{noamsfonts}{\let\mathfrak\relax}
  87. \DeclareOption{psamsfonts}{%
  88.   \PassOptionsToPackage{psamsfonts}{amsfonts}%
  89.   \PassOptionsToPackage{cmex10}{amsmath}}
  90. \newif\iftagsleft@
  91. \DeclareOption{leqno}{%
  92.   \tagsleft@true \PassOptionsToPackage{leqno}{amsmath}}
  93. \DeclareOption{reqno}{%
  94.   \tagsleft@false \PassOptionsToPackage{reqno}{amsmath}}
  95. \newif\ifctagsplit@
  96. \DeclareOption{centertags}{%
  97.   \ctagsplit@true \PassOptionsToPackage{centertags}{amsmath}}
  98. \DeclareOption{tbtags}{%
  99.   \ctagsplit@false \PassOptionsToPackage{tbtags}{amsmath}}
  100. \DeclareOption{fleqn}{%
  101.   \def\[{\relax
  102.     \ifmmode\@badmath
  103.     \else
  104.       \begin{trivlist}%
  105.       \@beginparpenalty\predisplaypenalty
  106.       \@endparpenalty\postdisplaypenalty
  107.       \item[]\leavevmode
  108.       \hbox to\linewidth\bgroup$\displaystyle
  109.       \hskip\mathindent\bgroup
  110.     \fi}%
  111.   \def\]{\relax
  112.     \ifmmode
  113.       \egroup \m@th$\hfil \egroup
  114.       \end{trivlist}%
  115.     \else \@badmath
  116.     \fi}%
  117.   \renewenvironment{equation}{%
  118.     \@beginparpenalty\predisplaypenalty
  119.     \@endparpenalty\postdisplaypenalty
  120.     \refstepcounter{equation}%
  121.     \@topsep\abovedisplayskip \trivlist
  122.     \item[]\leavevmode
  123.     \hbox to\linewidth\bgroup\hskip\mathindent$\displaystyle
  124.   }{%
  125.     \m@th$\hfil \displaywidth\linewidth \hbox{\@eqnnum}\egroup
  126.     \endtrivlist
  127.   }%
  128.   \renewenvironment{eqnarray}{%
  129.     \stepcounter{equation}\let\@currentlabel\theequation
  130.     \global\@eqnswtrue \global\@eqcnt\z@ \tabskip\mathindent
  131.     \let\\=\@eqncr \abovedisplayskip\topsep
  132.     \ifvmode \advance\abovedisplayskip\partopsep \fi
  133.     \belowdisplayskip\abovedisplayskip
  134.     \belowdisplayshortskip\abovedisplayskip
  135.     \abovedisplayshortskip\abovedisplayskip
  136.     $$\everycr{}\halign to\linewidth\bgroup
  137.       \hskip\@centering
  138.       $\displaystyle\tabskip\z@skip####\m@th$&%
  139.       \@eqnsel \global\@eqcnt\@ne
  140.       \hfil${}####{}\m@th$\hfil&%
  141.       \global\@eqcnt\tw@
  142.       $\displaystyle ####\m@th$\hfil\tabskip\@centering&%
  143.       \global\@eqcnt\thr@@
  144.       \hbox to \z@\bgroup\hss####\egroup\tabskip\z@skip\cr
  145.     }{%
  146.       \@@eqncr \egroup \global\advance\c@equation\m@ne$$%
  147.       \global\@ignoretrue
  148.     }%
  149.   \newdimen\mathindent \mathindent\leftmargini
  150. }
  151. \newcommand{\@mainsize}{10}
  152. \newcommand{\@ptsize}{0}
  153. \newcommand{\larger}[1][1]{%
  154.   \count@\@currsizeindex \advance\count@#1\relax
  155.   \ifnum\count@<\z@ \count@\z@ \else\ifnum\count@>12 \count@12 \fi\fi
  156.   \ifcase\count@
  157.     \Tiny\or\Tiny\or\tiny\or\SMALL\or\Small\or\small
  158.     \or\normalsize
  159.     \or\large\or\Large\or\LARGE\or\huge\or\Huge\else\Huge
  160.   \fi
  161. }
  162. \newcommand{\smaller}[1][1]{\larger[-#1]}
  163. \def\@adjustvertspacing{%
  164.   \bigskipamount.7\baselineskip plus.7\baselineskip
  165.   \medskipamount\bigskipamount \divide\medskipamount\tw@
  166.   \smallskipamount\medskipamount \divide\smallskipamount\tw@
  167.   \abovedisplayskip\medskipamount
  168.   \belowdisplayskip \abovedisplayskip
  169.   \abovedisplayshortskip\abovedisplayskip
  170.   \advance\abovedisplayshortskip-1\abovedisplayskip
  171.   \belowdisplayshortskip\abovedisplayshortskip
  172.   \advance\belowdisplayshortskip 1\smallskipamount
  173.   \jot\baselineskip \divide\jot 4 \relax
  174. }
  175. \renewcommand\normalsize{\@xsetfontsize\normalsize 6%
  176.   \@adjustvertspacing \let\@listi\@listI}
  177. \newcommand\Tiny{\@xsetfontsize\Tiny 1}
  178. \newcommand\tiny{\@xsetfontsize\tiny 2}
  179. \newcommand\SMALL{\@xsetfontsize\SMALL 3}
  180. \newcommand\Small{\@xsetfontsize\Small 4%
  181.   \@adjustvertspacing
  182.   \def\@listi{\topsep\smallskipamount \parsep\z@skip \itemsep\z@skip}}
  183. \newcommand\small{\@xsetfontsize\small 5\@adjustvertspacing}
  184. \def\footnotesize{\Small}
  185. \def\scriptsize{\SMALL}
  186. \newcommand\large{\@xsetfontsize\large 7\@adjustvertspacing}
  187. \newcommand\Large{\@xsetfontsize\Large 8\@adjustvertspacing}
  188. \newcommand\LARGE{\@xsetfontsize\LARGE 9}
  189. \newcommand\huge{\@xsetfontsize\huge{10}}
  190. \newcommand\Huge{\@xsetfontsize\Huge{11}}
  191. \def\@xsetfontsize#1#2{%
  192.   \chardef\@currsizeindex#2\relax
  193.   \edef\@tempa{\@nx\@setfontsize\@nx#1%
  194.     \@xp\ifcase\@xp\@currsizeindex\@typesizes
  195.       \else{99}{99}\fi}%
  196.   \@tempa
  197. }
  198. \chardef\@currsizeindex=6
  199. \widowpenalty=10000
  200. \clubpenalty=10000
  201. \brokenpenalty=10000
  202. \newdimen\linespacing
  203. \lineskip=1pt \lineskiplimit=1pt
  204. \normallineskip=1pt \normallineskiplimit=1pt
  205. \let\baselinestretch=\@empty
  206. \headheight=5pt \headsep=14pt
  207. \footskip=18pt
  208. \textheight=50.5pc \topskip=10pt
  209. \textwidth=30pc
  210. \columnsep=10pt \columnseprule=0pt
  211. \marginparwidth=90pt
  212. \marginparsep=11pt
  213. \marginparpush=5pt
  214. \AtBeginDocument{\settoheight{\footnotesep}{\footnotesize M$^1$}}
  215. \skip\footins=7pt plus11pt
  216. \skip\@mpfootins=\skip\footins
  217. \fboxsep=3pt \fboxrule=.4pt
  218. \arrayrulewidth=.4pt    \doublerulesep=2pt
  219. \labelsep=5pt           \arraycolsep=\labelsep
  220. \tabcolsep=\labelsep    \tabbingsep=\labelsep
  221. \floatsep=15pt plus 12pt    \dblfloatsep=15pt plus 12pt
  222. \textfloatsep=\floatsep  \dbltextfloatsep=15pt plus 12pt
  223. \intextsep=\floatsep
  224. \@fptop=0pt plus1fil     \@dblfptop=0pt plus1fil
  225. \@fpbot=0pt plus1fil     \@dblfpbot=0pt plus1fil
  226. \@fpsep=8pt plus2fil     \@dblfpsep=8pt plus2fil\relax
  227. \parskip=0pt \relax
  228. \newdimen\normalparindent
  229. \normalparindent=18pt
  230. \parindent=\normalparindent
  231. \partopsep=0pt \relax \parsep=0pt \relax \itemsep=0pt \relax
  232. \@lowpenalty=51         \@medpenalty=151        \@highpenalty=301
  233. \@beginparpenalty=-\@lowpenalty
  234. \@endparpenalty=-\@lowpenalty
  235. \@itempenalty=-\@lowpenalty
  236. \DeclareOption{10pt}{\def\@mainsize{10}\def\@ptsize{0}%
  237.   \def\@typesizes{%
  238.     \or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}%
  239.     \or{10}{12}% normalsize
  240.     \or{\@xipt}{13}\or{\@xiipt}{14}\or{\@xivpt}{17}%
  241.     \or{\@xviipt}{20}\or{\@xxpt}{24}}%
  242.   \normalsize \linespacing=\baselineskip
  243. }
  244. \DeclareOption{11pt}{\def\@mainsize{11}\def\@ptsize{1}%
  245.   \def\@typesizes{%
  246.     \or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}%
  247.     \or{\@xipt}{13}% normalsize
  248.     \or{\@xiipt}{14}\or{\@xivpt}{17}\or{\@xviipt}{20}%
  249.     \or{\@xxpt}{24}\or{\@xxvpt}{30}}%
  250.   \normalsize \linespacing=\baselineskip
  251. }
  252. \DeclareOption{12pt}{\def\@mainsize{12}\def\@ptsize{2}%
  253.   \def\@typesizes{%
  254.     \or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}\or{\@xipt}{13}%
  255.     \or{\@xiipt}{14}% normalsize
  256.     \or{\@xivpt}{17}\or{\@xviipt}{20}\or{\@xxpt}{24}%
  257.     \or{\@xxvpt}{30}\or{\@xxvpt}{30}}%
  258.   \normalsize \linespacing=\baselineskip
  259. }
  260. \DeclareOption{8pt}{\def\@mainsize{8}\def\@ptsize{8}%
  261.   \def\@typesizes{%
  262.     \or{5}{6}\or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}%
  263.     \or{8}{10}% normalsize
  264.     \or{9}{11}\or{10}{12}\or{\@xipt}{13}%
  265.     \or{\@xiipt}{14}\or{\@xivpt}{17}}%
  266.   \normalsize \linespacing=\baselineskip
  267. }
  268. \DeclareOption{9pt}{\def\@mainsize{9}\def\@ptsize{9}%
  269.   \def\@typesizes{%
  270.     \or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}%
  271.     \or{9}{11}% normalsize
  272.     \or{10}{12}\or{\@xipt}{13}\or{\@xiipt}{14}%
  273.     \or{\@xivpt}{17}\or{\@xviipt}{20}}%
  274.   \normalsize \linespacing=\baselineskip
  275. }
  276. \def\ps@empty{\let\@mkboth\@gobbletwo
  277.   \let\@oddhead\@empty \let\@evenhead\@empty
  278.   \let\@oddfoot\@empty \let\@evenfoot\@empty
  279.   \global\topskip\normaltopskip}
  280. \def\ps@plain{\ps@empty
  281.   \def\@oddfoot{\normalfont\scriptsize \hfil\thepage\hfil}%
  282.   \let\@evenfoot\@oddfoot}
  283. \def\ps@headings{\ps@empty
  284.   \def\@evenhead{\normalfont\scriptsize
  285.       \rlap{\thepage}\hfil \leftmark{}{}\hfil}%
  286.   \def\@oddhead{\normalfont\scriptsize \hfil
  287.       \rightmark{}{}\hfil \llap{\thepage}}%
  288.   \let\@mkboth\markboth
  289.   \def\partmark{\@secmark\markboth\partrunhead\partname}%
  290.   \def\chaptermark{%
  291.     \@secmark\markboth\chapterrunhead{}}%
  292.   \def\sectionmark{%
  293.     \@secmark\markright\sectionrunhead\sectionname}%
  294. }
  295. \let\sectionname\@empty
  296. \let\subsectionname\@empty
  297. \let\subsubsectionname\@empty
  298. \def\leftmark{\expandafter\@firstoftwo\topmark{}{}}
  299. \def\rightmark{\expandafter\@secondoftwo\botmark{}{}}
  300. \long\def\@nilgobble#1\@nil{}
  301. \def\@secmark#1#2#3#4{%
  302.   \begingroup \let\protect\@unexpandable@protect
  303.   \edef\@tempa{\endgroup \toks@{\@nx#2{#3}{\@secnumber}}}%
  304.   \@tempa
  305.   \toks@\@xp{\the\toks@{#4}}%
  306.   \afterassignment\@nilgobble\@temptokena\@themark{}\@nil
  307.   \edef\@tempa{\@nx\@mkboth{%
  308.     \ifx\markright#1\the\@temptokena\else\the\toks@\fi}{\the\toks@}}%
  309.   \@tempa}
  310. \let\@secnumber\@empty
  311. \def\markboth#1#2{%
  312.   \begingroup
  313.     \@temptokena{{#1}{#2}}\xdef\@themark{\the\@temptokena}%
  314.     \mark{\the\@temptokena}%
  315.   \endgroup
  316.   \if@nobreak\ifvmode\nobreak\fi\fi}
  317. \def\ps@myheadings{\ps@headings \let\@mkboth\@gobbletwo}
  318. \newskip\normaltopskip
  319. \normaltopskip=10pt \relax
  320. \let\sectionmark\@gobble
  321. \let\subsectionmark\@gobble
  322. \let\subsubsectionmark\@gobble
  323. \let\paragraphmark\@gobble
  324.  
  325. \DeclareOption{makeidx}{}
  326. \input{amsgen.sty}
  327. \ExecuteOptions{leqno,centertags,letterpaper,portrait,%
  328.   10pt,twoside,onecolumn,final}
  329. \ProcessOptions\relax
  330. \if@compatibility
  331.   \def\@tempa#1{\let\mathfrak\relax
  332.     \RequirePackage{amstex}\relax}\expandafter\@tempa
  333. \else
  334.   \expandafter\@iden
  335. \fi
  336. {% if native mode
  337. \@ifundefined{numberwithin}{\let\@tempa\relax}{\let\@tempa\@gobbletwo}
  338. \@tempa
  339. \RequirePackage{amsmath}\relax
  340. \ifx\relax\mathfrak \@xp\@gobbletwo \else \let\mathfrak\relax \fi
  341. \RequirePackage{amsfonts}\relax
  342. }% end native mode branch
  343. \newcommand{\uppercasenonmath}[1]{\toks@\@emptytoks
  344.   \@xp\@skipmath\@xp\@empty#1$$%
  345.   \edef#1{\@nx\@upprep\the\toks@}%
  346. }
  347. \newcommand{\@upprep}{%
  348.   \spaceskip1.3\fontdimen2\font plus1.3\fontdimen3\font
  349.   \upchars@}
  350. \newcommand{\upchars@}{%
  351.   \def\ss{SS}\def\i{I}\def\j{J}\def\ae{\AE}\def\oe{\OE}%
  352.   \def\o{\O}\def\aa{\AA}\def\l{\L}\def\Mc{M{\scshape c}}}
  353. \newcommand{\@skipmath}{}
  354. \long\def\@skipmath#1$#2${%
  355.   \@xskipmath#1\(\)%
  356.   \@ifnotempty{#2}{\toks@\@xp{\the\toks@$#2$}\@skipmath\@empty}}%
  357. \newcommand{\@xskipmath}{}
  358. \long\def\@xskipmath#1\(#2\){%
  359.   \uppercase{\toks@\@xp\@xp\@xp{\@xp\the\@xp\toks@#1}}%
  360.   \@ifnotempty{#2}{\toks@\@xp{\the\toks@\(#2\)}\@xskipmath\@empty}}%
  361. \newcommand{\today}{%
  362.   \relax\ifcase\month\or
  363.   January\or February\or March\or April\or May\or June\or
  364.   July\or August\or September\or October\or November\or December\fi
  365.   \space\number\day, \number\year}
  366. \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
  367. \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
  368. \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
  369. \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
  370. \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
  371. \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
  372. \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
  373. \renewcommand{\title}[2][]{\gdef\shorttitle{#1}\gdef\@title{#2}}
  374. \edef\title{\@nx\@dblarg
  375.   \@xp\@nx\csname\string\title\endcsname}
  376. \renewcommand{\author}[2][]{%
  377.   \ifx\@empty\authors
  378.     \gdef\shortauthors{#1}\gdef\authors{#2}%
  379.   \else
  380.     \g@addto@macro\shortauthors{\and#1}%
  381.     \g@addto@macro\authors{\and#2}%
  382.   \fi
  383.   \g@addto@macro\addresses{\author{}}%
  384. }
  385. \edef\author{\@nx\@dblarg
  386.   \@xp\@nx\csname\string\author\endcsname}
  387. \let\shortauthors\@empty   \let\authors\@empty
  388. \let\addresses\@empty      \let\thankses\@empty
  389. \newcommand{\address}[2][]{\g@addto@macro\addresses{\address{#1}{#2}}}
  390. \newcommand{\curraddr}[2][]{\g@addto@macro\addresses{\curraddr{#1}{#2}}}
  391. \newcommand{\email}[2][]{\g@addto@macro\addresses{\email{#1}{#2}}}
  392. \renewcommand{\thanks}[1]{\g@addto@macro\thankses{\thanks{#1}}}
  393. \def\@setaddresses{\par
  394.   \nobreak \begingroup
  395.   \def\author##1{\nobreak\addvspace\bigskipamount}%
  396.   \def\\{\unskip, \ignorespaces}%
  397.   \interlinepenalty\@M
  398.   \def\address##1##2{\begingroup
  399.     \par\addvspace\bigskipamount\indent
  400.     \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
  401.     {\scshape\ignorespaces##2}\par\endgroup}%
  402.   \def\curraddr##1##2{\begingroup
  403.     \@ifnotempty{##2}{\nobreak\indent{\itshape Current address}%
  404.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  405.       ##2\par\endgroup}}%
  406.   \def\email##1##2{\begingroup
  407.     \@ifnotempty{##2}{\nobreak\indent{\itshape E-mail address}%
  408.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  409.       \ttfamily##2\par\endgroup}}%
  410.   \addresses
  411.   \endgroup
  412. }
  413. \let\@date\@empty
  414. \def\dedicatory#1{\def\@dedicatory{#1}}
  415. \let\@dedicatory=\@empty
  416. \def\keywords#1{\def\@keywords{#1}}
  417. \let\@keywords=\@empty
  418. \def\subjclass#1{\def\@subjclass{#1}}
  419. \let\@subjclass=\@empty
  420. \def\translator#1{\g@addto@macro\@translators{\and#1}}
  421. \let\@translators=\@empty
  422. \newcommand{\xandlist}[4]{\@andlista{{#1}{#2}{#3}}#4\and\and}
  423. \def\@andlista#1#2\and#3\and{\@andlistc{#2}\@ifnotempty{#3}{%
  424.   \@andlistb#1{#3}}}
  425. \def\@andlistb#1#2#3#4#5\and{%
  426.   \@ifempty{#5}{%
  427.     \@andlistc{#2#4}%
  428.   }{%
  429.     \@andlistc{#1#4}\@andlistb{#1}{#3}{#3}{#5}%
  430.   }}
  431. \let\@andlistc\@iden
  432. \newcommand{\nxandlist}[4]{%
  433.   \def\@andlistc##1{\toks@\@xp{\the\toks@##1}}%
  434.   \toks@{\toks@\@emptytoks \@andlista{{#1}{#2}{#3}}}%
  435.   \the\@xp\toks@#4\and\and
  436.   \edef#4{\the\toks@}%
  437.   \let\@andlistc\@iden}
  438. \newcommand{\andify}{%
  439.   \nxandlist{\unskip, }{\unskip{} and~}{\unskip, and~}}
  440. \def\and{\unskip{ }and \ignorespaces}
  441. \def\maketitle{\par
  442.   \@topnum\z@ % this prevents figures from falling at the top of page 1
  443.   \begingroup
  444.   \@maketitle
  445.   \endgroup
  446.   \c@footnote\z@
  447.   \def\do##1{\let##1\relax}%
  448.   \do\maketitle \do\@maketitle \do\title \do\@xtitle \do\@title
  449.   \do\author \do\@xauthor \do\address \do\@xaddress
  450.   \do\email \do\@xemail \do\curraddr \do\@xcurraddr
  451.   \do\dedicatory \do\@dedicatory \do\thanks \do\thankses
  452.   \do\keywords \do\@keywords \do\subjclass \do\@subjclass
  453. }
  454. \newcommand{\abstractname}{Abstract}
  455. \newcommand{\keywordsname}{Key words and phrases}
  456. \newcommand{\subjclassname}{\textup{1991} Mathematics Subject
  457.      Classification}
  458. \def\@tempb{amsbook}
  459. \ifx\@classname\@tempb
  460.   \newcommand{\datename}{\textit{Date}:}
  461. \else
  462.   \newcommand{\datename}{Received by the editors}
  463. \fi
  464. \def\@setdate{\datename\ \@date\@addpunct.}
  465. \def\@setsubjclass{%
  466.   {\itshape\subjclassname.}\enspace\@subjclass\@addpunct.}
  467. \def\@setkeywords{%
  468.   {\itshape \keywordsname.}\enspace \@keywords\@addpunct.}
  469. \def\@setthanks{\def\thanks##1{\par##1\@addpunct.}\thankses}
  470. \newbox\abstractbox
  471. \newenvironment{abstract}{%
  472.   \ifx\maketitle\relax
  473.     \ClassWarning{\@classname}{Abstract should precede
  474.       \protect\maketitle\space in AMS documentclasses; reported}%
  475.   \fi
  476.   \global\setbox\abstractbox=\vtop \bgroup
  477.  \normalsize
  478.   \trivlist \labelsep.5em\item[\hskip\labelsep
  479.     {\scshape\abstractname}.]\ignorespaces
  480. }{%
  481.   \endtrivlist
  482.   \egroup
  483.   \ifx\@setabstract\relax \@setabstracta \fi
  484. }
  485. \def\@setabstract{\@setabstracta \global\let\@setabstract\relax}
  486. \def\@setabstracta{%
  487.   \ifvoid\abstractbox
  488.   \else
  489.     \skip@20\p@ \advance\skip@-\lastskip
  490.     \advance\skip@-\baselineskip \vskip\skip@
  491.     \box\abstractbox
  492.   \fi
  493. }
  494. \def\titlepage{%
  495.   \cleardoublepage
  496.   \thispagestyle{empty}\setcounter{page}{0}}
  497. \def\endtitlepage{\newpage}
  498. \def\labelenumi{\theenumi.}
  499. \def\theenumi{\@arabic\c@enumi}
  500. \def\labelenumii{(\theenumii)}
  501. \def\theenumii{\@alph\c@enumii}
  502. \def\p@enumii{\theenumi}
  503. \def\labelenumiii{(\theenumiii)}
  504. \def\theenumiii{\@roman\c@enumiii}
  505. \def\p@enumiii{\theenumi(\theenumii)}
  506. \def\labelenumiv{(\theenumiv)}
  507. \def\theenumiv{\@Alph\c@enumiv}
  508. \def\p@enumiv{\p@enumiii\theenumiii}
  509. \def\labelitemi{$\m@th\bullet$}
  510. \def\labelitemii{\bfseries --}% \upshape already done by \itemize
  511. \def\labelitemiii{$\m@th\ast$}
  512. \def\labelitemiv{$\m@th\cdot$}
  513. \def\verse{\let\\\@centercr
  514.   \list{}{\itemsep\z@ \itemindent -1.5em\listparindent\itemindent
  515.   \rightmargin\leftmargin \advance\leftmargin 1.5em}\item[]}
  516. \let\endverse=\endlist
  517. \def\quotation{\list{}{%
  518.     \leftmargin3pc \listparindent\normalparindent
  519.     \itemindent\z@
  520.     \rightmargin\leftmargin \parsep\z@ \@plus\p@}%
  521.   \item[]}
  522. \let\endquotation=\endlist
  523. \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
  524. \let\endquote=\endlist
  525. \def\trivlist{\parsep\parskip\@nmbrlistfalse
  526.   \@trivlist \labelwidth\z@ \leftmargin\z@
  527.   \itemindent\z@
  528.   \let\@itemlabel\@empty
  529.   \def\makelabel##1{\upshape##1}}
  530.  
  531. \def\enumerate{\ifnum \@enumdepth >3 \@toodeep\else
  532.       \advance\@enumdepth \@ne
  533.       \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
  534.       {\csname label\@enumctr\endcsname}{\usecounter
  535.         {\@enumctr}\def\makelabel##1{\hss\llap{\upshape##1}}}\fi}
  536.  
  537. \def\itemize{%
  538.   \ifnum\@itemdepth>3 \@toodeep
  539.   \else \advance\@itemdepth\@ne
  540.     \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
  541.     \list{\csname\@itemitem\endcsname}%
  542.       {\def\makelabel##1{\hss\llap{\upshape##1}}}%
  543.   \fi}
  544. \newcommand{\descriptionlabel}[1]{\hspace\labelsep \upshape\bfseries #1:}
  545. \newcommand{\description}{\list{}{%
  546.   \advance\leftmargini6\p@ \itemindent-12\p@
  547.   \labelwidth\z@ \let\makelabel\descriptionlabel}}
  548. \let\enddescription=\endlist
  549. \let\upn=\textup
  550. \AtBeginDocument{%
  551.   \settowidth\leftmargini{\labelenumi\hskip\labelsep}%
  552.   \advance\leftmargini by \normalparindent
  553.   \settowidth\leftmarginii{\labelenumii\hskip\labelsep}%
  554.   \advance\leftmarginii by 15pt
  555.   \settowidth\leftmarginiii{\labelenumiii\hskip\labelsep}%
  556.   \advance\leftmarginiii by 12pt
  557.   \settowidth\leftmarginiv{\labelenumiv\hskip\labelsep}%
  558.   \advance\leftmarginiv by 10pt
  559.   \leftmarginv=10pt
  560.   \leftmarginvi=10pt
  561.   \leftmargin=\leftmargini
  562.   \labelsep=5pt
  563.   \labelwidth=\leftmargini \advance\labelwidth-\labelsep
  564.   \@listi}
  565. \newskip\listisep
  566. \listisep\smallskipamount
  567. \def\@listI{\leftmargin\leftmargini \parsep\z@skip
  568.   \topsep\listisep \itemsep\z@skip
  569.   \listparindent\normalparindent}
  570. \let\@listi\@listI
  571. \def\@listii{\leftmargin\leftmarginii
  572.   \labelwidth\leftmarginii \advance\labelwidth-\labelsep
  573.   \topsep\z@skip \parsep\z@skip \partopsep\z@skip \itemsep\z@skip}
  574. \def\@listiii{\leftmargin\leftmarginiii
  575.   \labelwidth\leftmarginiii \advance\labelwidth-\labelsep}
  576. \def\@listiv{\leftmargin\leftmarginiv
  577.   \labelwidth\leftmarginiv \advance\labelwidth-\labelsep}
  578. \def\@listv{\leftmargin\leftmarginv
  579.   \labelwidth\leftmarginv \advance\labelwidth-\labelsep}
  580. \def\@listvi{\leftmargin\leftmarginvi
  581.   \labelwidth\leftmarginvi \advance\labelwidth-\labelsep}
  582. \def\@startsection#1#2#3#4#5#6{%
  583.  \if@noskipsec \leavevmode \fi
  584.  \par \@tempskipa #4\relax
  585.  \@afterindenttrue
  586.  \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
  587.  \if@nobreak \everypar{}\else
  588.      \addpenalty\@secpenalty\addvspace\@tempskipa\fi
  589.  \@ifstar{\@dblarg{\@sect{#1}{\@m}{#3}{#4}{#5}{#6}}}%
  590.          {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
  591. }
  592. \def\@sect#1#2#3#4#5#6[#7]#8{%
  593.   \edef\@toclevel{\ifnum#2=\@m 0\else\number#2\fi}%
  594.   \ifnum #2>\c@secnumdepth \let\@secnumber\@empty
  595.   \else \@xp\let\@xp\@secnumber\csname the#1\endcsname\fi
  596.  \ifnum #2>\c@secnumdepth
  597.    \let\@svsec\@empty
  598.  \else
  599.     \refstepcounter{#1}%
  600.     \edef\@svsec{\ifnum#2<\@m
  601.        \@ifundefined{#1name}{}{%
  602.          \ignorespaces\csname #1name\endcsname\space}\fi
  603.        \@nx\textup{%
  604.          \csname the#1\endcsname.}\enspace
  605.     }%
  606.   \fi
  607.   \@tempskipa #5\relax
  608.   \ifdim \@tempskipa>\z@ % then this is not a run-in section heading
  609.     \begingroup #6\relax
  610.     \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty\@M #8\par}%
  611.     \endgroup
  612.   \csname #1mark\endcsname{#7}%
  613.     \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
  614.   \else
  615.   \def\@svsechd{#6\hskip #3\@svsec
  616.     \@ifnotempty{#8}{\ignorespaces#8\unskip
  617.        \@addpunct.}%
  618.     \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
  619.   }%
  620.   \fi
  621.   \global\@nobreaktrue
  622.   \@xsect{#5}}
  623. \let\@ssect\relax
  624. \newcounter{part}
  625. \newcounter{chapter}
  626. \newcounter{section}[chapter]
  627. \def\thesection{\arabic{section}}
  628. \newcounter{subsection}[section]
  629. \newcounter{subsubsection}[subsection]
  630. \newcounter{paragraph}[subsubsection]
  631. \renewcommand\thepart          {\arabic{part}}
  632. \renewcommand\thechapter       {\arabic{chapter}}
  633. \renewcommand\thesection       {\arabic{section}}
  634. \renewcommand\thesubsection    {\thesection.\arabic{subsection}}
  635. \renewcommand\thesubsubsection {\thesubsection .\arabic{subsubsection}}
  636. \renewcommand\theparagraph     {\thesubsubsection.\arabic{paragraph}}
  637. \setcounter{secnumdepth}{3}
  638. \def\partname{Part}
  639. \def\specialsection{\@startsection{section}{1}%
  640.   \z@{2\linespacing\@plus\linespacing}{.5\linespacing}%
  641.   {\large\scshape\centering}}
  642. \def\part{\cleardoublepage \thispagestyle{empty}%
  643.   \null\vfil  \markboth{}{}\secdef\@part\@spart}
  644. \def\@part[#1]#2{%
  645.   \ifnum \c@secnumdepth >-2\relax \refstepcounter{part}%
  646.     \addcontentsline{toc}{part}{\partname\ \thepart.
  647.         \protect\enspace\protect\noindent#1}%
  648.   \else
  649.     \addcontentsline{toc}{part}{#1}\fi
  650.   \begingroup\centering
  651.   \ifnum \c@secnumdepth >-2\relax
  652.        {\fontsize{\@xviipt}{22}\bfseries
  653.          \partname\ \thepart} \vskip 20\p@ \fi
  654.   \fontsize{\@xxpt}{25}\bfseries
  655.       #1\vfil\vfil\endgroup \newpage\thispagestyle{empty}}
  656.  
  657. \def\@spart#1{\addcontentsline{toc}{part}{\protect\noindent#1}%
  658.   \begingroup\centering
  659.   \fontsize{\@xxpt}{25}\bfseries
  660.      #1\vfil\vfil\endgroup \newpage\thispagestyle{empty}}
  661. \def\partrunhead#1#2#3{%
  662.   \@ifnotempty{#2}{\uppercase{#1 #2}\@ifnotempty{#3}{. }}%
  663.   \def\@tempa{#3}%
  664.   \ifx\@empty\@tempa\else\uppercasenonmath\@tempa\@tempa\fi}
  665. \let\chapterrunhead\partrunhead
  666. \let\sectionrunhead\partrunhead
  667. \def\section{\@startsection{section}{1}%
  668.   \z@{.7\linespacing\@plus\linespacing}{.5\linespacing}%
  669.   {\normalfont\bfseries\centering}}
  670. \def\subsection{\@startsection{subsection}{2}%
  671.   \normalparindent{.5\linespacing\@plus.7\linespacing}{-.5em}%
  672.   {\normalfont\bfseries}}
  673. \def\subsubsection{\@startsection{subsubsection}{3}%
  674.   \normalparindent\z@{-.5em}%
  675.   {\normalfont\itshape}}
  676. \def\paragraph{\@startsection{paragraph}{4}%
  677.   \normalparindent\z@{-\fontdimen2\font}%
  678.   \normalfont}
  679. \def\subparagraph{\@startsection{subparagraph}{5}%
  680.   \z@\z@{-\fontdimen2\font}%
  681.   \normalfont}
  682. \def\appendixname{Appendix}
  683. \def\@Roman#1{\@xp\@slowromancap
  684.   \romannumeral#1@}%
  685. \def\@slowromancap#1{\ifx @#1% then terminate
  686.   \else
  687.     \if i#1I\else\if v#1V\else\if x#1X\else\if l#1L\else\if
  688.     c#1C\else\if m#1M\else#1\fi\fi\fi\fi\fi\fi
  689.     \@xp\@slowromancap
  690.   \fi
  691. }
  692. \def\frontmatter{\cleardoublepage\pagenumbering{roman}}
  693. \def\mainmatter{\cleardoublepage\pagenumbering{arabic}}
  694. \def\backmatter{\cleardoublepage}
  695. \def\aufm #1\endaufm{\vspace*{12pt}{\flushright #1\par}}
  696. \def\xcb{%
  697.   \settowidth{\leftmargini}{0.\hskip\labelsep}%
  698.   \settowidth{\leftmarginii}{(d.)\hskip\labelsep}%
  699. \@startsection{section}% counter name; ignored because of the
  700.                                 % * below
  701. {1}% sectioning level
  702. {\z@}% indent to the left of the section title
  703. {18\p@\@plus2\p@}% vertical space above *** added 12 more points space!!
  704. {1sp}% Space below of 13pt base-to-base, so none needs to be added
  705.     % here; but \z@ would cause the following text to be run-in, so we
  706.     % use 1sp instead.
  707. {\bfseries}% The font of the subsection title
  708. *% always unnumbered
  709. }%
  710. \def\endxcb{\par}
  711. \def\chapter{\cleardoublepage \thispagestyle{plain}\global\@topnum\z@
  712.   \@afterindentfalse \secdef\@chapter\@schapter}
  713. \def\@chapter[#1]#2{\refstepcounter{chapter}%
  714.   \ifnum\c@secnumdepth<\z@ \let\@secnumber\@empty
  715.   \else \let\@secnumber\thechapter \fi
  716.   \typeout{\chaptername\space\@secnumber}%
  717.   \def\@toclevel{0}%
  718.   \ifx\chaptername\appendixname \@tocwriteb\tocappendix{chapter}{#2}%
  719.   \else \@tocwriteb\tocchapter{chapter}{#2}\fi
  720.   \chaptermark{#1}%
  721.   \addtocontents{lof}{\protect\addvspace{10\p@}}%
  722.   \addtocontents{lot}{\protect\addvspace{10\p@}}%
  723.   \@makechapterhead{#2}\@afterheading}
  724. \def\@schapter#1{\typeout{#1}%
  725.   \let\@secnumber\@empty
  726.   \def\@toclevel{0}%
  727.   \ifx\chaptername\appendixname \@tocwriteb\tocappendix{chapter}{#1}%
  728.   \else \@tocwriteb\tocchapter{chapter}{#1}\fi
  729.   \chaptermark{#1}%
  730.   \addtocontents{lof}{\protect\addvspace{10\p@}}%
  731.   \addtocontents{lot}{\protect\addvspace{10\p@}}%
  732.   \@makeschapterhead{#1}\@afterheading}
  733. \def\chaptername{Chapter}
  734. \def\thechapter{\@arabic\c@chapter}
  735. \def\appendixname{Appendix}
  736. \def\@makechapterhead#1{\global\topskip 7.5pc\relax
  737.   \begingroup
  738.   \fontsize{\@xivpt}{18}\bfseries\centering
  739.     \ifnum\c@secnumdepth>\m@ne
  740.       \leavevmode \hskip-\leftskip
  741.       \rlap{\vbox to\z@{\vss
  742.           \centerline{\normalsize\mdseries
  743.               \uppercase\@xp{\chaptername}\enspace\thechapter}
  744.           \vskip 3pc}}\hskip\leftskip\fi
  745.      #1\par \endgroup
  746.   \skip@34\p@ \advance\skip@-\normalbaselineskip
  747.   \vskip\skip@ }
  748. \def\@makeschapterhead#1{\global\topskip 8.5pc\relax
  749.   \begingroup
  750.   \fontsize{\@xivpt}{18}\bfseries\centering
  751.   #1\par \endgroup
  752.   \skip@34\p@ \advance\skip@-\normalbaselineskip
  753.   \vskip\skip@ }
  754. \def\appendix{\par
  755.   \c@chapter\z@ \c@section\z@
  756.   \let\chaptername\appendixname
  757.   \def\thechapter{\@Alph\c@chapter}}
  758. \newcommand{\@pnumwidth}{1.6em}
  759. \newcommand{\@tocrmarg}{2.6em}
  760. \setcounter{tocdepth}{1}
  761. \def\@starttoc#1#2{%
  762.   \begingroup
  763.   \let\secdef\@gobbletwo \chapter
  764.   \let\@secnumber\@empty % for \@tocwrite and \chaptermark
  765.   \ifx\contentsname#2%
  766.   \else \@tocwrite{chapter}{#2}\fi
  767.   \typeout{#2}\@xp\chaptermark\@xp{#2}%
  768.   \@makeschapterhead{#2}\@afterheading
  769.   \makeatletter
  770.   \@input{\jobname.#1}%
  771.   \if@filesw
  772.     \@xp\newwrite\csname tf@#1\endcsname
  773.     \immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax
  774.   \fi
  775.   \global\@nobreakfalse \endgroup
  776.   \newpage
  777. }
  778. \def\contentsname{Contents}
  779. \def\listfigurename{List of Figures}
  780. \def\listtablename{List of Tables}
  781. \def\tableofcontents{\@starttoc{toc}\contentsname}
  782. \def\listoffigures{\@starttoc{lof}\listfigurename}
  783. \def\listoftables{\@starttoc{lot}\listtablename}
  784. \AtBeginDocument{%
  785.   \@for\@tempa:=-1,0,1,2,3\do{%
  786.     \@ifundefined{r@tocindent\@tempa}{%
  787.       \@xp\gdef\csname r@tocindent\@tempa\endcsname{0pt}}{}%
  788.   }%
  789. }
  790. \def\@writetocindents{%
  791.   \begingroup
  792.   \@for\@tempa:=-1,0,1,2,3\do{%
  793.     \immediate\write\@auxout{%
  794.       \string\newlabel{tocindent\@tempa}{%
  795.         \csname r@tocindent\@tempa\endcsname}}%
  796.   }%
  797.   \endgroup}
  798. \AtEndDocument{\@writetocindents}
  799.  
  800. \let\indentlabel\@empty
  801. \def\@tochangmeasure#1{\sbox\z@{#1}%
  802.   \ifdim\wd\z@>\csname r@tocindent\@toclevel\endcsname\relax
  803.     \@xp\xdef\csname r@tocindent\@toclevel\endcsname{\the\wd\z@}%
  804.   \fi
  805. }
  806. \def\@tocline#1#2#3#4#5#6#7{\relax
  807.   \ifnum #1>\c@tocdepth % then omit
  808.   \else
  809.     \par \addpenalty\@secpenalty\addvspace{#2}%
  810.     \begingroup \hyphenpenalty\@M
  811.     \@ifempty{#4}{%
  812.       \@tempdima\csname r@tocindent\number#1\endcsname\relax
  813.     }{%
  814.       \@tempdima#4\relax
  815.     }%
  816.     \parindent\z@ \leftskip#3\relax \advance\leftskip\@tempdima\relax
  817.     \rightskip\@pnumwidth plus1em \parfillskip-\@pnumwidth
  818.     #5\leavevmode\hskip-\@tempdima #6\relax
  819.     \hfil\hbox to\@pnumwidth{\@tocpagenum{#7}}\par
  820.     \nobreak
  821.     \endgroup
  822.   \fi}
  823. \def\@tocpagenum#1{\hss{\mdseries #1}}
  824. \def\@tocwrite#1{\@xp\@tocwriteb\csname toc#1\endcsname{#1}}
  825. \def\@tocwriteb#1#2#3{%
  826.   \begingroup
  827.     \def\@tocline##1##2##3##4##5##6{%
  828.       \ifnum##1>\c@tocdepth
  829.       \else \sbox\z@{##5\let\indentlabel\@tochangmeasure##6}\fi}%
  830.     \csname l@#2\endcsname{#1{\csname#2name\endcsname}{\@secnumber}{}}%
  831.   \endgroup
  832.   \addcontentsline{toc}{#2}%
  833.     {\protect#1{\csname#2name\endcsname}{\@secnumber}{#3}}}
  834. \def\l@section{\@tocline{1}{0pt}{1pc}{}{}}
  835. \newcommand{\tocsection}[3]{%
  836.   \indentlabel{\@ifnotempty{#2}{\ignorespaces#1 #2.\quad}}#3}
  837. \def\l@subsection{\@tocline{2}{0pt}{1pc}{5pc}{}}
  838. \let\tocsubsection\tocsection
  839. \def\l@subsubsection{\@tocline{3}{0pt}{1pc}{7pc}{}}
  840. \let\tocsubsubsection\tocsection
  841. \def\l@part{\@tocline{-1}{12pt plus2pt}{0pt}{}{\bfseries}}
  842. \let\tocpart\tocsection
  843. \def\l@chapter{\@tocline{0}{8pt plus1pt}{0pt}{}{}}
  844. \let\tocchapter\tocsection
  845. \let\tocappendix\tocchapter
  846. \def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{}{}}
  847. \let\l@table=\l@figure
  848. \def\refname{References}
  849. \def\bibname{Bibliography}
  850. \def\bibliographystyle#1{%
  851.    \if@filesw\immediate\write\@auxout
  852.     {\string\bibstyle{#1}}\fi
  853.         \def\@tempa{#1}%
  854.         \def\@tempb{amsplain}%
  855.         \def\@tempc{}%
  856.         \ifx\@tempa\@tempb
  857.                 \def\@biblabel##1{##1.}%
  858.                 \def\bibsetup{}%
  859.         \else
  860.                 \def\bibsetup{\labelsep6\p@}%
  861.         \ifx\@tempa\@tempc
  862.                 \def\@biblabel##1{}%
  863.                 \def\bibsetup{\labelwidth\z@ \leftmargin24\p@
  864.                 \itemindent-24\p@
  865.                           \labelsep\z@ }%
  866.         \fi
  867. \fi}
  868. \newenvironment{thebibliography}[1]{%
  869.   \@xp\chapter\@xp*\@xp{\bibname}%
  870.   \normalfont\footnotesize\labelsep .5em\relax
  871.   \renewcommand\theenumiv{\arabic{enumiv}}\let\p@enumiv\@empty
  872.   \list{\@biblabel{\theenumiv}}{\settowidth\labelwidth{\@biblabel{#1}}%
  873.     \leftmargin\labelwidth \advance\leftmargin\labelsep
  874.     \usecounter{enumiv}}%
  875.   \sloppy \clubpenalty\@M \widowpenalty\clubpenalty
  876.   \sfcode`\.=\@m
  877. }{%
  878.   \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
  879.   \endlist
  880. }
  881. \def\bysame{\leavevmode\hbox to3em{\hrulefill}\thinspace}
  882. \def\newblock{}
  883. \newif\if@restonecol
  884. \def\indexchap{\@startsection{chapter}{1}{\z@}{92pt}{10pc}%
  885.   {\centering\fontsize{\@xivpt}{18}\bfseries}}%
  886. \def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
  887.   \columnseprule\z@ \columnsep 35\p@
  888.   \twocolumn[\@xp\indexchap\@xp*\@xp{\indexname}]%
  889.   \@xp\chaptermark\@xp{\indexname}%
  890.   \thispagestyle{plain}%
  891.   \let\item\@idxitem
  892.   \parindent\z@  \parskip\z@\@plus.3\p@\relax
  893.   \footnotesize}
  894. \def\indexname{Index}
  895. \def\@idxitem{\par\hangindent 2em}
  896. \def\subitem{\par\hangindent 2em\hspace*{1em}}
  897. \def\subsubitem{\par\hangindent 3em\hspace*{2em}}
  898. \def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
  899. \def\indexspace{\par\bigskip}
  900. \@addtoreset{footnote}{chapter}
  901. \def\footnoterule{\kern-.4\p@
  902.         \hrule\@width 5pc\kern11\p@\kern-\footnotesep}
  903. \def\@makefnmark{\hbox{$\m@th^{\@thefnmark}$}}
  904. \def\@makefntext{\indent\@makefnmark}
  905. \long\def\@footnotetext#1{\insert\footins{%
  906.   \normalfont\footnotesize
  907.   \interlinepenalty\interfootnotelinepenalty
  908.   \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
  909.   \floatingpenalty\@MM \hsize\columnwidth
  910.   \@parboxrestore \parindent\normalparindent \sloppy
  911.   \edef\@currentlabel{\p@footnote\@thefnmark}%
  912.   \@makefntext{\rule\z@\footnotesep\ignorespaces#1\unskip\strut\par}}}
  913. \hfuzz=1pt \vfuzz=\hfuzz
  914. \def\sloppy{\tolerance9999 \emergencystretch 3em\relax}
  915. \setcounter{topnumber}{4}
  916. \setcounter{bottomnumber}{4}
  917. \setcounter{totalnumber}{4}
  918. \setcounter{dbltopnumber}{4}
  919. \renewcommand{\topfraction}{.97}
  920. \renewcommand{\bottomfraction}{.97}
  921. \renewcommand{\textfraction}{.03}
  922. \renewcommand{\floatpagefraction}{.9}
  923. \renewcommand{\dbltopfraction}{.97}
  924. \renewcommand{\dblfloatpagefraction}{.9}
  925. \setlength{\floatsep}{12pt plus 6pt minus 4pt}
  926. \setlength{\textfloatsep}{15pt plus 8pt minus 5pt}
  927. \setlength{\intextsep}{12pt plus 6pt minus 4pt}
  928. \setlength{\dblfloatsep}{12pt plus 6pt minus 4pt}
  929. \setlength{\dbltextfloatsep}{15pt plus 8pt minus 5pt}
  930. \setlength{\@fptop}{0pt}% removed ``plus 1fil''
  931. \setlength{\@fpsep}{8pt}% removed ``plus 2fil''
  932. \setlength{\@fpbot}{0pt plus 1fil}
  933. \setlength{\@dblfptop}{0pt}% removed ``plus 1fil''
  934. \setlength{\@dblfpsep}{8pt}% removed ``plus 2fil''
  935. \setlength{\@dblfpbot}{0pt plus 1fil}
  936. \newcommand{\fps@figure}{tbp}
  937. \newcommand{\fps@table}{tbp}
  938. \newcounter{figure}[chapter]
  939. \def\captionheadfont@{\scshape}
  940. \def\captionfont@{\normalfont}
  941. \def\ftype@figure{1}
  942. \def\ext@figure{lof}
  943. \def\fnum@figure{\figurename\ \thefigure}
  944. \def\figurename{Figure}
  945. \def\figure{\@float{figure}}
  946. \let\endfigure=\end@float
  947. \newcounter{table}[chapter]
  948. \def\ftype@table{2}
  949. \def\ext@table{lot}
  950. \def\fnum@table{\tablename\ \thetable}
  951. \def\tablename{Table}
  952. \def\table{\@float{table}}
  953. \let\endtable=\end@float
  954. \long\def\@makecaption#1#2{%
  955.   \setbox\@tempboxa\vbox{\color@setgroup
  956.     \advance\hsize-6pc\noindent
  957.     \captionfont@\captionheadfont@#1\@xp\@ifnotempty\@xp
  958.         {\@cdr#2\@nil}{.\captionfont@\upshape\enspace#2}%
  959.     \unskip\kern-6pc\par
  960.     \global\setbox\@ne\lastbox\color@endgroup}%
  961.   \ifhbox\@ne % the normal case
  962.     \setbox\@ne\hbox{\unhbox\@ne\unskip\unskip\unpenalty\unkern}%
  963.   \fi
  964.   \ifdim\wd\@tempboxa=\z@ % this means caption will fit on one line
  965.     \setbox\@ne\hbox to\columnwidth{\hss\kern-6pc\box\@ne\hss}%
  966.   \else % tempboxa contained more than one line
  967.     \setbox\@ne\vbox{\unvbox\@tempboxa\parskip\z@skip
  968.         \noindent\unhbox\@ne\advance\hsize-6pc\par}%
  969. \fi
  970.   \ifnum\@tempcnta<64 % if the float IS a figure...
  971.     \addvspace\abovecaptionskip
  972.     \moveright 3pc\box\@ne
  973.   \else % if the float IS NOT a figure...
  974.     \moveright 3pc\box\@ne
  975.     \nobreak
  976.     \vskip\belowcaptionskip
  977.   \fi
  978. \relax
  979. }
  980. \newskip\abovecaptionskip \abovecaptionskip=12pt \relax
  981. \newskip\belowcaptionskip \belowcaptionskip=12pt \relax
  982. \RequirePackage{amsthm}
  983. \def\@swapped#1#2{#2%
  984.   \@ifnotempty{#1}{\@addpunct{.}\quad#1\unskip}}
  985. \def\th@plain{%
  986.   \let\theoremindent\indent
  987.   \theoremheadfont{\scshape}% heading font small caps
  988.   \theoremnotefont{\mdseries\upshape}%
  989.   \theorempreskipamount.5\baselineskip\@plus.2\baselineskip
  990.                                     \@minus.2\baselineskip
  991.   \theorempostskipamount\theorempreskipamount
  992.   \itshape
  993. }
  994. \def\th@definition{%
  995.   \let\theoremindent\indent
  996.   \theoremheadfont{\scshape}% heading font small caps
  997.   \theoremnotefont{\mdseries\upshape}%
  998.   \theorempreskipamount.5\baselineskip\@plus.2\baselineskip
  999.                                     \@minus.2\baselineskip
  1000.   \theorempostskipamount\theorempreskipamount
  1001.   \upshape
  1002. }
  1003. \def\th@remark{%
  1004.   \let\theoremindent\indent
  1005.   \theoremheadfont{\scshape}% heading font small caps
  1006.   \theoremnotefont{\mdseries\upshape}%
  1007.   \theorempreskipamount.5\baselineskip\@plus.2\baselineskip
  1008.                                     \@minus.2\baselineskip
  1009.   \theorempostskipamount\theorempreskipamount
  1010.   \upshape
  1011. }
  1012. \renewenvironment{proof}[1][\proofname]{\par \normalfont
  1013.   \topsep6\p@\@plus6\p@ \trivlist \itemindent\normalparindent
  1014.   \item[\hskip\labelsep\scshape
  1015.     #1\@addpunct{.}]\ignorespaces
  1016. }{%
  1017.   \qed\endtrivlist
  1018. }
  1019. \if@compatibility
  1020. \let\@newpf\proof \let\proof\relax \let\endproof\relax
  1021. \newenvironment{pf}{\@newpf[\proofname]}{\qed\endtrivlist}
  1022. \newenvironment{pf*}[1]{\@newpf[#1]}{\qed\endtrivlist}
  1023. \fi
  1024. \def\nonbreakingspace{\unskip\nobreak\ \ignorespaces}
  1025. \def~{\protect\nonbreakingspace}
  1026. \def\@biblabel#1{\@ifnotempty{#1}{[#1]}}
  1027. \def\@cite#1#2{{%
  1028.  \m@th\upshape\mdseries[{\bfseries #1}{\if@tempswa, #2\fi}]}}
  1029. \@ifundefined{cite }{%
  1030.   \expandafter\let\csname cite \endcsname\cite
  1031.   \edef\cite{\@nx\protect\@xp\@nx\csname cite \endcsname}%
  1032. }{}
  1033. \def\fullwidthdisplay{\displayindent\z@ \displaywidth\columnwidth}
  1034. \edef\@tempa{\noexpand\fullwidthdisplay\the\everydisplay}
  1035. \everydisplay\expandafter{\@tempa}
  1036. \newcommand\seename{see also}%
  1037. \newcommand\see[2]{{\em \seename\/} #1}%
  1038. \newcommand\printindex{\@input{\jobname.ind}}%
  1039. \def\@maketitle{\cleardoublepage \thispagestyle{empty}%
  1040.   \begingroup \topskip\z@skip
  1041.   \null\vfil
  1042.   \begingroup
  1043.   \LARGE\bfseries \centering
  1044.   \openup\medskipamount
  1045.   \@title\par\vspace{24pt}%
  1046.   \def\and{\par\medskip}\centering
  1047.   \mdseries\authors\par\bigskip
  1048.   \endgroup
  1049.   \vfil
  1050.   \ifx\@empty\addresses\else
  1051.   Author address:
  1052.   \@setaddresses\fi
  1053.   \vfill
  1054.   \newpage\thispagestyle{empty}
  1055.   \begin{center}
  1056.     \ifx\@empty\@subjclass\else\@setsubjclass\fi
  1057.     \ifx\@empty\@translators\else\vfil\@settranslators\fi
  1058.     \ifx\@empty\thankses\else\vfil\@setthanks\fi
  1059.   \end{center}
  1060.   \vfil
  1061.   \@setabstract
  1062.   \endgroup}
  1063. \def\@settranslators{\par
  1064.   \begingroup
  1065.   Translated by: \andify\@translators \uppercasenonmath\@translators
  1066.   \@translators \@@par
  1067.   \endgroup}
  1068. \hyphenation{acad-e-my acad-e-mies af-ter-thought anom-aly anom-alies
  1069. an-ti-deriv-a-tive an-tin-o-my an-tin-o-mies apoth-e-o-ses
  1070. apoth-e-o-sis ap-pen-dix ar-che-typ-al as-sign-a-ble as-sist-ant-ship
  1071. as-ymp-tot-ic asyn-chro-nous at-trib-uted at-trib-ut-able bank-rupt
  1072. bank-rupt-cy bi-dif-fer-en-tial blue-print busier busiest
  1073. cat-a-stroph-ic cat-a-stroph-i-cally con-gress cross-hatched data-base
  1074. de-fin-i-tive de-riv-a-tive dis-trib-ute dri-ver dri-vers eco-nom-ics
  1075. econ-o-mist elit-ist equi-vari-ant ex-quis-ite ex-tra-or-di-nary
  1076. flow-chart for-mi-da-ble forth-right friv-o-lous ge-o-des-ic
  1077. ge-o-det-ic geo-met-ric griev-ance griev-ous griev-ous-ly
  1078. hexa-dec-i-mal ho-lo-no-my ho-mo-thetic ideals idio-syn-crasy
  1079. in-fin-ite-ly in-fin-i-tes-i-mal ir-rev-o-ca-ble key-stroke
  1080. lam-en-ta-ble light-weight mal-a-prop-ism man-u-script mar-gin-al
  1081. meta-bol-ic me-tab-o-lism meta-lan-guage me-trop-o-lis
  1082. met-ro-pol-i-tan mi-nut-est mol-e-cule mono-chrome mono-pole
  1083. mo-nop-oly mono-spline mo-not-o-nous mul-ti-fac-eted mul-ti-plic-able
  1084. non-euclid-ean non-iso-mor-phic non-smooth par-a-digm par-a-bol-ic
  1085. pa-rab-o-loid pa-ram-e-trize para-mount pen-ta-gon phe-nom-e-non
  1086. post-script pre-am-ble pro-ce-dur-al pro-hib-i-tive pro-hib-i-tive-ly
  1087. pseu-do-dif-fer-en-tial pseu-do-fi-nite pseu-do-nym qua-drat-ic
  1088. quad-ra-ture qua-si-smooth qua-si-sta-tion-ary qua-si-tri-an-gu-lar
  1089. quin-tes-sence quin-tes-sen-tial re-arrange-ment rec-tan-gle
  1090. ret-ri-bu-tion retro-fit retro-fit-ted right-eous right-eous-ness
  1091. ro-bot ro-bot-ics sched-ul-ing se-mes-ter semi-def-i-nite
  1092. semi-ho-mo-thet-ic set-up se-vere-ly side-step sov-er-eign spe-cious
  1093. spher-oid spher-oid-al star-tling star-tling-ly sta-tis-tics
  1094. sto-chas-tic straight-est strange-ness strat-a-gem strong-hold
  1095. sum-ma-ble symp-to-matic syn-chro-nous topo-graph-i-cal tra-vers-a-ble
  1096. tra-ver-sal tra-ver-sals treach-ery turn-around un-at-tached
  1097. un-err-ing-ly white-space wide-spread wing-spread wretch-ed
  1098. wretch-ed-ly Eng-lish Euler-ian Feb-ru-ary Gauss-ian
  1099. Hamil-ton-ian Her-mit-ian Jan-u-ary Japan-ese Kor-te-weg
  1100. Le-gendre Mar-kov-ian Noe-ther-ian No-vem-ber Rie-mann-ian Sep-tem-ber}
  1101. \def\calclayout{\advance\textheight -\headheight
  1102.   \advance\textheight -\headsep
  1103.   \oddsidemargin\paperwidth
  1104.   \advance\oddsidemargin -\textwidth
  1105.   \divide\oddsidemargin\tw@
  1106.   \ifdim\oddsidemargin<.5truein \oddsidemargin.5truein \fi
  1107.   \advance\oddsidemargin -1truein
  1108.   \evensidemargin\oddsidemargin
  1109.   \topmargin\paperheight \advance\topmargin -\textheight
  1110.   \advance\topmargin -\headheight \advance\topmargin -\headsep
  1111.   \divide\topmargin\tw@
  1112.   \ifdim\topmargin<.5truein \topmargin.5truein \fi
  1113.   \advance\topmargin -1truein\relax
  1114. }
  1115. \calclayout % initialize
  1116. \pagenumbering{arabic}
  1117. \pagestyle{headings}
  1118. \thispagestyle{plain}
  1119. \if@compatibility \else\endinput\fi
  1120. \def\tiny{\Tiny}
  1121. \def\defaultfont{\normalfont}
  1122. \def\rom{\textup}
  1123. \endinput
  1124. %% 
  1125. %% End of file `amsbook.cls'.
  1126.